package models;

import javax.persistence.*;

@Entity
@Table(name = "t_Truck")
public class Truck_P_Entity {
    private int id;
    private String plateNo;
    private String type;
    private String industry;
    private String GPSFlag;
    private String GPSStatus;
    private  String LastTime;
    private  String deptId;

    @Id
    @Column(name = "id", nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "PlateNo", nullable = true, length = 255)
    public String getPlateNo() {
        return plateNo;
    }

    public void setPlateNo(String plateNo) {
        this.plateNo = plateNo;
    }

    @Basic
    @Column(name = "Type", nullable = true, length = 255)
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Basic
    @Column(name = "Industry", nullable = true, length = 255)
    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    @Basic
    @Column(name = "GPSFlag", nullable = true, length = 255)
    public String getGPSFlag() {
        return GPSFlag;
    }

    public void setGPSFlag(String GPSFlag) {
        this.GPSFlag = GPSFlag;
    }
    @Basic
    @Column(name = "GPSStatus", nullable = true, length = 255)
    public String getGPSStatus() {
        return GPSStatus;
    }

    public void setGPSStatus(String GPSStatus) {
        this.GPSStatus = GPSStatus;
    }
    @Basic
    @Column(name = "LastTime", nullable = true, length = 255)
    public String getLastTime() {
        return LastTime;
    }

    public void setLastTime(String lastTime) {
        LastTime = lastTime;
    }

    @Basic
    @Column(name = "DeptId", nullable = true, length = 255)
    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }
}
